package com.zhj.product.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhj.product.entity.pojo.Carousel;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CarouselMapper extends BaseMapper<Carousel> {

    /**
     * 查询所有的轮播图
     * @param isShow
     * @return
     */
    List<Carousel> selectAll(Integer isShow);
}